<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:2877/ObjectSecurityService.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/SecurityAgent" />
  <xs:element name="GetObjectAuthorization">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="applicationKey" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userToken" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="objectName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectAuthorizationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetObjectAuthorizationResult" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectClaim">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="applicationKey" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userToken" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="objectName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="requireFieldLevel" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectClaimResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/SecurityAgent" minOccurs="0" name="GetObjectClaimResult" nillable="true" type="q1:ObjectClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="IsObjectAuthorized">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="applicationKey" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userToken" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="objectName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="operation" type="xs:int" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="IsObjectAuthorizedResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="IsObjectAuthorizedResult" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllObjects">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="applicationKey" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userToken" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="requireFieldDetail" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetAllObjectsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/SecurityAgent" minOccurs="0" name="GetAllObjectsResult" nillable="true" type="q2:ArrayOfObjectClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectsByCategory">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="applicationKey" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userToken" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="category" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="requireFieldDetail" type="xs:boolean" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectsByCategoryResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/SecurityAgent" minOccurs="0" name="GetObjectsByCategoryResult" nillable="true" type="q3:ArrayOfObjectClaim" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectSettingValue">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="applicationKey" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userToken" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="objectName" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="setting" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectSettingValueResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetObjectSettingValueResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectSettings">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="applicationKey" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="userToken" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="objectName" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetObjectSettingsResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" name="GetObjectSettingsResult" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>